
<!--##############模板加载****区域列表#####################-->
<script type="text/template7" id="tplAreaList">
    {{#each this}}
    <li class="item-content " style="max-height: 44px"><a href="javascript:;" data-areaid="{{id}}" class="list-button popoverItem close-popover" >{{areaName}}</a></li>
    {{/each}}
</script>
<script type="text/template7" id="tplGoodsList">
    {{#each this}}
    <li class="item-content {{check}} popoverItem2" data-goodid="{{id}}">{{goodsName}}</li>
    {{/each}}
</script>
<!--##############模板加载****区域列表#####################-->
<script type="text/template7" id="tplWeixiuList">
    {{#each this}}
    <li class="item-content " style="max-height: 44px"><a href="javascript:;" data-msId="{{msId}}" class="list-button popoverItem close-popover" >{{msName}}</a></li>
    {{/each}}
</script>
<!--图标添加-->
<!--图标添加-->
<script type="text/template7" id="tplPicsDelList">

    {{#each this}}
    <div class="imgDiv">
        <img class="bimage" src="{{this}}" width="80px" height="80px" alt>
        <img class="imgDel" src="img/icon_delimg.png" alt>
    </div>
    {{/each}}
</script>
<script type="text/template7" id="tplPicsAddList">

    {{#each this}}
    <div class="imgDiv">
        <img class="bimage" src="{{this}}" width="80px" height="80px" alt>
        <img class="imgDel" src="img/icon_delimg.png" alt>
    </div>
    {{/each}}
    {{if @last}}
    <div class="imgDiv">
        <!--<label>-->
        <img src="img/img_add.png" width="80px" height="80px" class="add_pic" alt>
        <!--<input type="file" class="input-file" data-role="uploader" accept="image/*" style="display: none">-->
        <!--</label>-->
        <!--<img class="add_pic" src="res/img/img_add.png" width="80px" height="80px" alt>-->
    </div>
    {{/if}}
</script>
<!--##############模板加载#####################-->
<!--##############详情页图标模板加载#####################-->
<!--图标添加-->
<script type="text/template7" id="tplPicsList">
    {{#each this}}
    <li class="left">
        <div class="imgDiv">
            <img src="{{this}}" width="80px" height="80px" alt>
        </div>
    </li>
    {{/each}}
</script>
<script type="text/template7" id="tplProgress">
    {{#if judge4}}
        <li class="progress_xq">
            <div class="item-content item-content-progress">
                <div class="item-media">
                    <ul>
                        <li>
                            <span class="park"><img src="img/zaixianbaoxiu134.png" alt=""></span>
                            <span class="verLine"></span>
                        </li>
                    </ul>
                </div>
                <div class="item-inner item-marginLeft">
                    <div class="item-title-row">
                        <div class="item-title progress_content">您的订单已经处理完成，感谢您的使用！</div>
                    </div>
                    <div class="item-subtitle progress_content">{{formatDate endStamp}}</div><br>
                </div>
            </div>
        </li>
        <li class="progress_xq">
            <div class="item-content item-content-progress">
                <div class="item-media">
                    <ul>
                        <li>
                            <span class="park"><img src="img/zaixianbaoxiu132.png" alt=""></span>
                            <span class="verLine"></span>
                        </li>
                    </ul>
                </div>
                <div class="item-inner item-marginLeft">
                    <div class="item-title-row">
                        <div class="item-title progress_content">{{masterName}}师傅已经完成工单，请对本次维修服务做出评价。</div>
                    </div>
                    <div class="item-subtitle progress_content">{{formatDate endStamp}}</div><br>
                </div>
            </div>
        </li>
        <li class="progress_xq">
            <div class="item-content item-content-progress">
                <div class="item-media">
                    <ul>
                        <li>
                            <span class="park"><img src="img/zaixianbaoxiu132.png" alt=""></span>
                            <span class="verLine"></span>
                        </li>
                    </ul>
                </div>
                <div class="item-inner item-marginLeft">
                    <div class="item-title-row">
                        <div class="item-title progress_content">{{masterName}}师傅已经开始处理，预计{{formatDate commitmentTime}}上门维修，请耐心等待</div> <span class=""><a class="external item-subtext btn-orange" href="tel:{{masterMobile}}">联系Ta</a></span>
                    </div>
                    <div class="item-subtitle progress_content">{{formatDate startStamp}}</div><br>
                </div>
            </div>
        </li>
        <li class="progress_xq">
            <div class="item-content item-content-progress">
                <div class="item-media">
                    <ul>
                        <li>
                            <span class="park"><img src="img/zaixianbaoxiu132.png" alt=""></span>
                            <span class="verLine"></span>
                        </li>
                    </ul>
                </div>
                <div class="item-inner item-marginLeft">
                    <div class="item-title-row">
                        <div class="item-title progress_content">报修工单开始处理，管理员已分配给{{masterName}}师傅</div>
                    </div>
                    <div class="item-subtitle progress_content">{{formatDate fenpeiStamp}}</div><br>
                </div>
            </div>
        </li>
        <li class="progress_xq">
            <div class="item-content item-content-progress">
                <div class="item-media">
                    <ul>
                        <li>
                            <span class="park"><img src="img/zaixianbaoxiu132.png" alt=""></span>
                            <span class="linHe"></span>
                        </li>
                    </ul>
                </div>
                <div class="item-inner item-marginLeft">
                    <div class="item-title-row">
                        <div class="item-title progress_content">你的报修工单已提交，等待管理员分配，不要着急哦~</div>
                    </div>
                    <div class="item-subtitle progress_content">{{formatDate createStamp}}</div><br>
                </div>
            </div>
        </li>
    {{else}}
        {{#if judge3}}
        <li class="progress_xq">
            <div class="item-content item-content-progress">
                <div class="item-media">
                    <ul>
                        <li>
                            {{#if judge4}}
                            <span class="park"><img src="img/zaixianbaoxiu132.png" alt=""></span>
                            {{else}}
                            <span class="park"><img src="img/zaixianbaoxiu134.png" alt=""></span>
                            {{/if}}
                            <span class="verLine"></span>
                        </li>
                    </ul>
                </div>
                <div class="item-inner item-marginLeft">
                    <div class="item-title-row">
                        <div class="item-title progress_content '{{judge4}} ? item-qianhui : item-black'">{{masterName}}师傅已经完成工单，请对本次维修服务做出评价。</div>  <span class="item-subtext btn-orange aral_go">去评价</span>
                    </div>
                    <div class="item-subtitle progress_content '{{judge4}} ? item-huise : item-gray'">{{formatDate endStamp}}</div><br>
                </div>
            </div>
        </li>
        {{/if}}
        {{#if judge2}}
        <li class="progress_xq">
            <div class="item-content item-content-progress">
                <div class="item-media">
                    <ul>
                        <li>
                            {{#if judge3}}
                            <span class="park"><img src="img/zaixianbaoxiu132.png" alt=""></span>
                            {{else}}
                            <span class="park"><img src="img/zaixianbaoxiu134.png" alt=""></span>
                            {{/if}}
                            <span class="verLine"></span>
                        </li>
                    </ul>
                </div>
                <div class="item-inner item-marginLeft">
                    <div class="item-title-row">
                        <div class="item-title progress_content '{{judge3}} ? item-qianhui : item-black'">{{masterName}}师傅已经开始处理，预计{{formatDate commitmentTime}}上门维修，请耐心等待</div> <span class=""><a class="external item-subtext btn-orange" href="tel:{{masterMobile}}">联系Ta</a></span>
                    </div>
                    <div class="item-subtitle progress_content '{{judge3}} ? item-huise : item-gray'">{{formatDate startStamp}}</div><br>
                </div>
            </div>
        </li>
        {{/if}}
        {{#if judge1}}
        <li class="progress_xq">
            <div class="item-content item-content-progress">
                <div class="item-media">
                    <ul>
                        <li>
                            {{#if judge2}}
                            <span class="park"><img src="img/zaixianbaoxiu132.png" alt=""></span>
                            {{else}}
                            <span class="park"><img src="img/zaixianbaoxiu134.png" alt=""></span>
                            {{/if}}
                            <span class="verLine"></span>
                        </li>
                    </ul>
                </div>
                <div class="item-inner item-marginLeft">
                    <div class="item-title-row">
                        <div class="item-title progress_content '{{judge2}} ? item-qianhui : item-black'">报修工单开始处理，管理员已分配给{{masterName}}师傅</div>
                    </div>
                    <div class="item-subtitle progress_content '{{judge2}} ? item-huise : item-gray'">{{formatDate fenpeiStamp}}</div><br>
                </div>
            </div>
        </li>

        {{/if}}
        {{#if judge0}}
        <li class="progress_xq">
            <div class="item-content item-content-progress">
                <div class="item-media">
                    <ul>
                        <li>
                            {{#if judge1}}
                            <span class="park"><img src="img/zaixianbaoxiu132.png" alt=""></span>
                            {{else}}
                            <span class="park"><img src="img/zaixianbaoxiu134.png" alt=""></span>
                            {{/if}}
                            <span class="linHe"></span>
                        </li>
                    </ul>
                </div>
                <div class="item-inner item-marginLeft">
                    <div class="item-title-row">
                        <div class="item-title progress_content '{{judge1}} ? item-qianhui : item-black'">你的报修工单已提交，等待管理员分配，不要着急哦~</div>
                    </div><br>
                    <div class="item-subtitle progress_content '{{judge1}} ? item-huise : item-gray'">{{formatDate createStamp}}</div>
                </div>
            </div>
        </li>
        {{/if}}
    {{/if}}
</script>